<extend name="Public/base"/>

<block name="body">
    <script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
    <div class="main-title">
        <h2>商品属性值添加</h2>
    </div>
    <div class="tab-wrap">
        <div class="tab-content">
            <form action="{:U('Value/add')}" method="post" class="form-horizontal">
                    <div class="form-item">
                        <label class="item-label">商品名称</label>
                        <div class="controls">
                            <input type="hidden" class="text input-large" name="sid" readonly value="{$sid}">
                            <input type="text" class="text input-large" name="title" readonly value="{$title}">
                        </div>
                    </div>
                    <div class="form-item">
                        <label class="item-label">新增商品属性值</label>
                        <div class="controls">
                            <input type="text" class="text input-large" name="vname" value="">
                        </div>
                    </div>
                    <div class="form-item">
                        <label class="item-label">新增商品属性id</label>
                        <div class="controls">
                            <input type="text" class="text input-large" name="kid" readonly value="{$kid}">
                        </div>
                    </div>
                <div class="form-item">
                    <button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">添 加</button>
                    <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
                </div>
            </form>
        </div>
    </div>
</block>

<block name="script">
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('Value/index')}');
    </script>
</block>